package com.kun.index.service;

import com.kun.index.entity.Message;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.HashMap;
import java.util.Map;

/**
 * <p>
 * 消息通知表 服务类
 * </p>
 *
 * @author kunkun
 * @since 2024-03-21
 */
public interface MessageService extends IService<Message> {

    //给用户发送消息
    Integer addMessage(Message message);

    //查询所有的消息
    Map<String, Object> queryMessages(HashMap<String, Object> map);

    //更新雄安锡
    int updateMessage(Message message);
}
